BracketSpace\Notification\Dependencies\enshrined\svgSanitize\Sanitizer A

Total Complexity 68
Dependencies 10
Dependents 0
Total lines 613
Lines of code 257
Logical lines of code 125
Comment lines 248
Methods 29
Properties 12

Methods 29

Method Rating Maintainability Complexity Lines of code
cleanAttributesOnWhitelist()
A
48 10 31
startClean()
A
47 8 36
isHrefSafeValue()
A
48 8 36
sanitize()
S
50 5 30
isUseTagExceedingThreshold()
S
58 5 17
removeDoctype()
S
69 3 7
cleanXlinkHrefs()
S
63 2 10
resetAfter()
S
73 2 5
setUpBefore()
S
69 2 7
hasRemoteReference()
S
65 2 9
isUseTagDirty()
S
74 2 4
cleanHrefs()
S
64 2 10
minify()
S
80 1 3
removeXMLTag()
S
80 1 3
useThreshold()
S
80 1 3
isAriaAttribute()
S
78 1 3
removeNonPrintableCharacters()
S
78 1 3
isDataAttribute()
S
78 1 3
__construct()
S
75 1 4
resetInternal()
S
70 1 6
getXmlIssues()
S
82 1 3
removeRemoteReferences()
S
81 1 3
setAllowedAttrs()
S
79 1 3
getAllowedAttrs()
S
82 1 3
setAllowedTags()
S
79 1 3
getAllowedTags()
S
82 1 3
getXMLOptions()
S
82 1 3
setXMLOptions()
S
81 1 3
setUseNestingLimit()
S
80 1 3